package com.ai.platform.model.vo;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;

/**
 * Created by yeyingsheng on 2018/5/21.
 */
public class UserVo {

    @NotEmpty(message="账号不能为空！")
    private String account;

    @Size(min=6,max=10,message = "密码长度必须6到10位")
    private String password;

    @Size(min=4,max=4,message = "验证码长度必须为4位")
    private String code;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
